package transactionimplementation

import (
	"salary/abstracttransactions"
	"salary/model"
	"salary/modelimplementation"
)

/*
 * 更改支付方式：银行卡
 */

type ChangeDirectTransaction struct {
	abstracttransactions.ChangeMethodTransaction
	bank    	string
	account 	string
}

func (cdt *ChangeDirectTransaction) GetMethod() model.PaymentMethod {
	return modelimplementation.NewDirectMethod(cdt.bank, cdt.account)
}

